import Vue from 'vue'
import Vonic from 'vonic'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import './css/index.css'
// Page Components
import Index from './components/Index.vue'
import About from './components/About.vue'
import Work from './components/work.vue'
import WorkDetail from "./components/workDetail/detail.vue"
import AboutDetail from "./components/aboutDetail"
import WorkD from "./components/workDetail/workD"
// window.Vue = Vue;
// var VueGesture = require('vue2-gesture')
// Vue.use(VueGesture)
import store from './store'
import filter from "./filter"
// Vue.use(VueGesture)
// Routes
const routes = [
  { path: '/', component: Index },
  { path: '/about', component: About },
  { path: '/work', component: Work },
  {path:"/AboutDetail",component:AboutDetail},
  {path:"/WorkDetail",component:WorkDetail},
  {path:"/WorkDetail/:id",component:WorkDetail},
  {path:"/WorkD/:id",component:WorkD}
]

Vue.use(Vonic.app, {
  routes: routes,
  filter,
  store
})

try{
  window.log = console.log
}catch(e){

}
